﻿<!--
<copyright company="Christoph van der Fecht - VDsoft">
Copyright (C) Christoph van der Fecht - VDsoft - All Rights Reserved
Unauthorized copying of this file, via any medium is strictly prohibited,
unless it is communicated and authorized by the copyright owner.
</copyright>
-->
<Window x:Class="SeriesManager.AboutDialog"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="AboutDialog" 
		WindowStyle="None"
		WindowStartupLocation="CenterScreen"
		ResizeMode="NoResize"
		Height="300" 
		Width="460"
		Topmost="True"
		DataContext="{Binding Source={StaticResource ResourceKey=Locator}, Path=AboutDialogView}">
	<Window.Resources>
		<Style x:Key="TextBlockStyle" TargetType="TextBlock">
			<Setter Property="Margin" Value="0,1,0,0"/>
			<Setter Property="TextWrapping" Value="Wrap"/>
		</Style>
	</Window.Resources>
    <Border BorderThickness="1" BorderBrush="#222222">
    <Grid Margin="10">
		<Image Source="Resources/AboutBackground.png" 
			   Margin="10"
			   Stretch="Fill"
			   MouseLeftButtonUp="OnLeftMouseUp"/>
		<StackPanel Orientation="Vertical" HorizontalAlignment="Right" VerticalAlignment="Bottom"
					Margin="103,120,30,30">
			<TextBlock Text="{Binding Path=Title}"
				   Style="{StaticResource ResourceKey=TextBlockStyle}"
                       FontWeight="Bold"
                       HorizontalAlignment="Right"/>
			<TextBlock Text="{Binding Path=Version, StringFormat=Version: \{0\}}"
				   Style="{StaticResource ResourceKey=TextBlockStyle}"
                        HorizontalAlignment="Right"
                       Margin="0,0,0,20"/>
			<TextBlock Text="{Binding Path=CopyRight}"
				   Style="{StaticResource ResourceKey=TextBlockStyle}"
                        HorizontalAlignment="Right"/>
			<TextBlock Text="{Binding Path=Description}"
				   Style="{StaticResource ResourceKey=TextBlockStyle}"
                        HorizontalAlignment="Right"/>
		</StackPanel>
		<TextBlock Margin="10,120,223,138">
				<Hyperlink NavigateUri="http://www.vdsoft.at"
						   RequestNavigate="OnLinkNavigation">
					www.vdsoft.at
				</Hyperlink>
		</TextBlock>
	</Grid>
    </Border>
</Window>
